Skip to content

Add Copilot instructions for repository#1135

Merged
jbtronics merged 4 commits into
masterfrom
copilot/set-up-copilot-instructions
Dec 6, 2025
Merged

Add Copilot instructions for repository#1135
jbtronics merged 4 commits into
masterfrom
copilot/set-up-copilot-instructions

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 6, 2025

Configures GitHub Copilot workspace instructions following best practices.

Changes

Created .github/copilot-instructions.md containing:

  • Technology stack: PHP 8.2+, Symfony 7.4, Doctrine ORM, Bootstrap 5, Hotwire Stimulus/Turbo, TypeScript, Webpack Encore
  • Coding standards: PSR-12, Symfony conventions, ECS enforcement, PHPStan level 5, strict type declarations
  • Development workflow: Dependency management (Composer, Yarn), database migrations, test setup (PHPUnit with DAMA), static analysis commands
  • Patterns: Entity/repository creation, form types, controller actions, service registration via DI
  • Architecture notes: Fine-grained permissions system, multi-language support via translation keys, database backend portability requirements, event-driven logging

The instructions enable Copilot to generate code aligned with Part-DB's conventions, particularly around permissions, translations, and Symfony patterns.

Original prompt

This section details on the original issue you should resolve

<issue_title>✨ Set up Copilot instructions</issue_title>
<issue_description>Configure instructions for this repository as documented in Best practices for Copilot coding agent in your repository.

</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI self-assigned this Dec 6, 2025
Copilot AI and others added 2 commits December 6, 2025 21:46
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
Copilot AI changed the title [WIP] Configure instructions for Copilot in repository Add Copilot instructions for repository Dec 6, 2025
Copilot AI requested a review from jbtronics December 6, 2025 21:50
Removed code style check instructions for PHP.
@jbtronics jbtronics marked this pull request as ready for review December 6, 2025 21:57
@jbtronics jbtronics merged commit 443cb57 into master Dec 6, 2025
18 checks passed
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.33%. Comparing base (02b1f7a) to head (7468bcf).
⚠️ Report is 21 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1135      +/-   ##
============================================
- Coverage     58.34%   58.33%   -0.02%     
  Complexity     7286     7286              
============================================
  Files           580      580              
  Lines         23192    23192              
============================================
- Hits          13532    13529       -3     
- Misses         9660     9663       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jbtronics jbtronics deleted the copilot/set-up-copilot-instructions branch December 6, 2025 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

✨ Set up Copilot instructions

2 participants